#include<iostream>
#include<string>
using namespace std;
string s;
int main()
{
    while(cin>>s)
    {
        if(s[0]>='A'&&s[0]<'a') cout<<s[0];
        else
        {
            cout<<(char)(s[0]-('a'-'A'));
        }
    }
    return 0;
}